package cn.conf;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

// 1.全注解配置(推荐)
@Configuration
@ComponentScan("cn")
@EnableAspectJAutoProxy  //对应xml中<aop:aspectj-autoproxy/>，即配置spring开启注解AOP的支持
public class SpringConf {
}
